﻿@model BigRoom.Service.DTO.GroupPermissionDto
@{ 
    Layout = null;
}
<form asp-action="CreateEdit" onsubmit="return jQueryAjaxPost(this)">
  
        <input asp-for="GroupId" type="hidden" class="form-control" />
    <div class="form-group">
        <label  class="control-label">UserProfile</label>
        <select asp-for="UserProfileId"  class="form-control" asp-items="@(new SelectList(Model.UserProfiles,"Id","Name"))"></select>
        <span asp-validation-for="UserProfileId" class="text-danger"></span>
    </div>
    <div class="form-group">
        <label  class="control-label">Quize</label>
        <select asp-for="QuizeId" class="form-control" asp-items="@(new SelectList(Model.Quizes,"Id","Description"))"></select>
        <span asp-validation-for="QuizeId" class="text-danger"></span>
    </div>
    <div class="form-group form-check">
        <label class="form-check-label">
            <input class="form-check-input" asp-for="Edit" /> @Html.DisplayNameFor(model => model.Edit)
        </label>
    </div>
    <div class="form-group form-check">
        <label class="form-check-label">
            <input class="form-check-input" asp-for="Create" /> @Html.DisplayNameFor(model => model.Create)
        </label>
    </div>
    <div class="form-group form-check">
        <label class="form-check-label">
            <input class="form-check-input" asp-for="Delete" /> @Html.DisplayNameFor(model => model.Delete)
        </label>
    </div>
        <input asp-for="Id" class="form-control" type="hidden"/>
    <div class="form-group">
        <input type="submit" value="Save" class="btn btn-primary" />
    </div>
</form>